package com.example.komunikator;

import java.sql.Connection;

public class SQLLogic {


	private Connection connection = null;
	private static SQLLogic instance =null;

	public synchronized static SQLLogic getInstance(){
		if(instance == null){
			instance = new SQLLogic();
		}
		return instance;
	}
	public void setConnection (Connection connection){
		this.connection = connection;
	}
	public Connection getConnection(){
		return this.connection;
	}

}
